TotalContest\Contest\Model D

Total Complexity 213
Dependencies 22
Dependents 4
Total lines 2,073
Lines of code 833
Logical lines of code 387
Comment lines 949
Methods 106
Properties 25

Methods 106

Method Rating Maintainability Complexity Lines of code
getUrl()
B
37 22 62
__construct()
B
37 16 64
getMenuItems()
A
45 11 39
getAjaxUrl()
S
54 7 19
getSettings()
S
61 6 11
getPaginationItems()
S
54 5 21
getFilterByItems()
S
46 3 43
toArray()
S
51 4 27
getSubmissionsWithPagination()
S
54 4 19
getCustomPage()
S
62 4 12
getSortByItems()
S
47 1 47
getCategories()
S
58 3 15
isAcceptingSubmissions()
S
60 3 14
getSeoAttributes()
S
59 3 14
getShareAttributes()
S
54 2 20
getSortDirectionItems()
S
51 1 33
hasCategoryField()
S
67 3 8
isCustomPageScreen()
S
77 3 3
getSubmissionsRows()
S
70 3 5
getTimeLeftToEnd()
S
65 3 8
getFormFields()
S
65 3 9
getTimeLeftToStart()
S
65 3 8
save()
S
63 2 11
getSubmissions()
S
57 1 17
setError()
S
77 2 3
getSubmissionsCount()
S
69 2 6
getColumnWidth()
S
75 2 4
getErrorMessage()
S
78 2 3
getPermalink()
S
69 2 6
setCurrentPage()
S
79 2 3
getContext()
S
80 2 3
render()
S
67 2 8
getBlocksDefinitions()
S
74 2 4
isCustomPage()
S
79 2 3
getForm()
S
71 2 6
getThumbnail()
S
70 2 5
getStartDate()
S
73 2 4
getEndDate()
S
73 2 4
getFormFieldsDefinitions()
S
68 2 7
getLandingAjaxUrl()
S
78 1 3
getLandingUrl()
S
78 1 3
getSortBy()
S
82 1 3
__toString()
S
80 1 3
getParticipateUrl()
S
78 1 3
isPasswordProtected()
S
80 1 3
getVotesWithLabel()
S
77 1 3
jsonSerialize()
S
81 1 3
isRateVoting()
S
80 1 3
isCountVoting()
S
80 1 3
incrementVotes()
S
73 1 5
getAdminEditLink()
S
79 1 3
getParticipateAjaxUrl()
S
78 1 3
getSubmissionsUrl()
S
78 1 3
getSubmissionsAjaxUrl()
S
78 1 3
setContext()
S
77 1 4
getCustomPageUrl()
S
77 1 3
getCustomPageAjaxUrl()
S
77 1 3
getAdminLogLink()
S
79 1 3
getAdminSubmissionsLink()
S
79 1 3
isScreen()
S
80 1 3
getVotes()
S
80 1 3
isLandingScreen()
S
80 1 3
isParticipateScreen()
S
80 1 3
isSubmissionsScreen()
S
80 1 3
isSubmissionScreen()
S
80 1 3
getReceivedVotes()
S
82 1 3
getVotesNumber()
S
80 1 3
setScreen()
S
76 1 4
getVotesFromLogs()
S
66 1 9
getContestPost()
S
82 1 3
hasNextPage()
S
79 1 3
getPreviousPagePaginationItem()
S
64 1 9
hasPreviousPage()
S
81 1 3
getRestrictions()
S
82 1 3
getLimitations()
S
82 1 3
getMenuItemVisibility()
S
79 1 3
setFormResolver()
S
77 1 4
getError()
S
82 1 3
setForm()
S
80 1 3
isUsingBlocks()
S
79 1 3
getTitle()
S
82 1 3
getAction()
S
82 1 3
getId()
S
81 1 3
getSettingsItem()
S
77 1 3
getDefaultPage()
S
79 1 3
getNextPagePaginationItem()
S
64 1 9
hasError()
S
80 1 3
getVoteCriteria()
S
79 1 3
setMenuVisibility()
S
76 1 4
getVoteType()
S
79 1 3
getVoteScale()
S
79 1 3
getPresetUid()
S
79 1 3
getTemplateId()
S
79 1 3
setMenuItemsVisibility()
S
76 1 4
getMenuItemsVisibility()
S
82 1 3
setMenuItemVisibility()
S
76 1 4
getMenuVisibility()
S
82 1 3
getCurrentPage()
S
82 1 3
setCustomPageId()
S
76 1 4
getCustomPageId()
S
82 1 3
getCustomPages()
S
65 1 9
hasLandingPage()
S
75 1 4
getScreen()
S
82 1 3
getPrefix()
S
78 1 3
setAction()
S
80 1 3
getSortDirection()
S
82 1 3